
def sid:byte[48]				@ 54272

def sid_filtermode_volume:byte	@ 54296 // $d418

def sid_freq:word				@ 54272
def sid_control:byte			@ 54276
def sid_attack_decay:byte		@ 54277
def sid_sustain_release:byte	@ 54278
def sid_duration:word			@ 54274

def sid2_freq:word				@ 54279
def sid2_control:byte			@ 54283
def sid2_attack_decay:byte		@ 54284
def sid2_sustain_release:byte	@ 54285
def sid2_duration:word			@ 54281

def sid3_freq:word				@ 54286
def sid3_control:byte			@ 54290
def sid3_attack_decay:byte		@ 54291
def sid3_sustain_release:byte	@ 54292
def sid3_duration:word			@ 54288

sub init_sid() {							
	for x:0..sid[] {
		sid[x] = 0
	}

	sid_filtermode_volume = 15
}

 
